<template>
    <el-drawer :title="title" visible @close="$emit('close'); $emit('load')" size="1200px" :wrapperClosable="false">
        <div class="add-main" v-loading="loading">
            <basic ref="basic" :handleShow="handleShow" :data="data" />
        </div>
    </el-drawer>
</template>
<script>
import basic from "./detail/basic"
export default {
    name: '',
    props: {
        title: String,
        handleShow: {
            type: String, //add新增edit编辑
            default: ""
        },
        data: {
            type: Object,
            default: function () {
                return {}
            }
        }
    },
    components: {
        basic,
    },
    data() {
        return {
            loading: false,
        }
    },
    created() {

    },
    methods: {

    },
}

</script>
<style scoped lang='scss'>
</style>